package com.beiing.tianshuai.tianshuai.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Jinni on 2017/7/31 0031.
 */

public class ActivitiesPublishBean {

    /**
     * code : 200
     * data : {"active":[{"id":"226","strech":"《新歌声2》人气学员巡演 展示音乐新玩法","sponsor":"天率广告","cover":"596ae4dd60d0f.png","contact":"天率广告","location":"北京","action_time":"1500091200","exit_time":"1501430435","uid":"13","uname":"天率校园","tname":"娱乐赛事"},{"id":"225","strech":"足球宝贝选秀大赛","sponsor":"天率广告","cover":"59659ca1688d4.png","contact":"天率校园","location":"沈阳、青岛、上海、成都、深圳、北京","action_time":"1495598400","exit_time":"1497758400","uid":"13","uname":"天率校园","tname":"娱乐赛事"},{"id":"224","strech":"《侯沧海商路笔记》小桥老树 新作发布会","sponsor":"网易云阅读","cover":"5965993e16be4.png","contact":"天率校园","location":"重庆方所书店","action_time":"1490076000","exit_time":"1490085000","uid":"13","uname":"天率校园","tname":"名人名家"},{"id":"223","strech":"《蓝桥几顾》IP传播活动","sponsor":"网易云阅读","cover":"596597ab6c265.jpg","contact":"天率校园","location":"线上活动","action_time":"1490400000","exit_time":"1491350400","uid":"13","uname":"天率校园","tname":"名人名家"},{"id":"222","strech":"网易游戏魔天记校园活动","sponsor":"网易游戏","cover":"59659604dcb57.jpg","contact":"天率校园","location":"杭州科技大学东和食堂门口","action_time":"1487376000","exit_time":"1487412000","uid":"13","uname":"天率校园","tname":"二次元"},{"id":"221","strech":"网易漫画宅舞大赛","sponsor":"网易漫画","cover":"59659428305b5.jpg","contact":"天率校园","location":"全国赛区","action_time":"1495152000","exit_time":"1497672000","uid":"13","uname":"天率校园","tname":"二次元"},{"id":"220","strech":"腾讯动漫演唱会\u201c觉醒之夜\u201d","sponsor":"腾讯动漫","cover":"596590eece59e.jpg","contact":"天率校园","location":"上海美琪大戏院","action_time":"1493416800","exit_time":"1493427600","uid":"13","uname":"天率校园","tname":"二次元"},{"id":"219","strech":"2017猎豹橙色大巴公益传播活动","sponsor":"天率校园","cover":"59658f7d1fceb.jpg","contact":"天率校园","location":"各大车站","action_time":"1483329600","exit_time":"1485921600","uid":"13","uname":"天率校园","tname":"校园活动"},{"id":"218","strech":"《爱乐之城》电影放映会","sponsor":"放羊娱乐","cover":"59658e344e014.jpg","contact":"天率校园","location":"星美国际影城-北京望京店","action_time":"1489816800","exit_time":"1488528000","uid":"13","uname":"天率校园","tname":"校园活动"},{"id":"217","strech":"陈楚生&amp;APY·C重庆巡演","sponsor":"天率校园","cover":"596594bbd2a1f.png","contact":"天率校园","location":"重庆市九龙坡区小时代梦想艺术学园5楼","action_time":"1496966400","exit_time":"1496973600","uid":"13","uname":"天率校园","tname":"明星校园"}]}
     */

    @SerializedName("code")
    private int code;
    @SerializedName("data")
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        @SerializedName("active")
        private List<ActiveBean> active;

        public List<ActiveBean> getActive() {
            return active;
        }

        public void setActive(List<ActiveBean> active) {
            this.active = active;
        }

        public static class ActiveBean {
            /**
             * id : 226
             * strech : 《新歌声2》人气学员巡演 展示音乐新玩法
             * sponsor : 天率广告
             * cover : 596ae4dd60d0f.png
             * contact : 天率广告
             * location : 北京
             * action_time : 1500091200
             * exit_time : 1501430435
             * uid : 13
             * uname : 天率校园
             * tname : 娱乐赛事
             */

            @SerializedName("id")
            private String id;
            @SerializedName("strech")
            private String strech;
            @SerializedName("sponsor")
            private String sponsor;
            @SerializedName("cover")
            private String cover;
            @SerializedName("contact")
            private String contact;
            @SerializedName("location")
            private String location;
            @SerializedName("action_time")
            private String actionTime;
            @SerializedName("exit_time")
            private String exitTime;
            @SerializedName("uid")
            private String uid;
            @SerializedName("uname")
            private String uname;
            @SerializedName("tname")
            private String tname;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getStrech() {
                return strech;
            }

            public void setStrech(String strech) {
                this.strech = strech;
            }

            public String getSponsor() {
                return sponsor;
            }

            public void setSponsor(String sponsor) {
                this.sponsor = sponsor;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getContact() {
                return contact;
            }

            public void setContact(String contact) {
                this.contact = contact;
            }

            public String getLocation() {
                return location;
            }

            public void setLocation(String location) {
                this.location = location;
            }

            public String getActionTime() {
                return actionTime;
            }

            public void setActionTime(String actionTime) {
                this.actionTime = actionTime;
            }

            public String getExitTime() {
                return exitTime;
            }

            public void setExitTime(String exitTime) {
                this.exitTime = exitTime;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getUname() {
                return uname;
            }

            public void setUname(String uname) {
                this.uname = uname;
            }

            public String getTname() {
                return tname;
            }

            public void setTname(String tname) {
                this.tname = tname;
            }
        }
    }
}
